home *** CD-ROM | disk | FTP | other *** search
/ Adobe Graphics & Publishing SDK 1996 December / Adobe Graphics & Publishing SDK 1996 December.iso / mac / PageMaker 6.5 SDK Mac / SourceCode / PageMakerClassLibrary / Commands / PMoveLayer.cpp < prev    next >
C/C++ Source or Header  |  1996-10-10  |  943b  |  40 lines

  1. /*
  2.  *--- PMoveLayer.cpp --------------------------------------------------------
  3.  * Copyright (c) 1995-96 Adobe Systems Incorporated.  All rights reserved.
  4.  * Created on Sun, Oct 22, 1995 @ 3:29 PM by Paul Ferguson.
  5.  *
  6.  * Description:  For notes about this class, refer to the
  7.  * PCL documentation file PMoveLayer.html
  8.  *-------------------------------------------------------------------------
  9.  */
  10.  
  11. #include "PMoveLayer.h"
  12. #include "PRequestBuf.h"
  13. #include "PCommand.h"
  14.  
  15. PMoveLayer::PMoveLayer(
  16.                 const char     * sNameFrom,
  17.                 const char     * sNameTo)
  18.  
  19. {
  20.     PRequestBuf request(strlen(sNameFrom) + strlen(sNameTo) + 4);
  21.     
  22.     request << sNameFrom
  23.             << sNameTo;
  24.  
  25.     PCommand command(pm_movelayer, request);
  26. }
  27.  
  28. PMoveLayer::PMoveLayer( const char * sNameFrom )
  29. {
  30.     PRequestBuf request(strlen(sNameFrom) + 6);
  31.  
  32.     request << sNameFrom
  33.             << "";
  34.  
  35.     PCommand command(pm_movelayer, request);
  36. }
  37.  
  38.  
  39. // end of PMoveLayer.cpp
  40.